import org.junit.Test;
import org.springframework.stereotype.Component;
import service.CustomerService;

import javax.annotation.Resource;

/*
 * 纯注解方式整合Junit单元测试框架测试类
 */
@Component
public class Demo extends BaseTest{

    @Resource(name="customerService")
    private CustomerService customerService;
    @Test
    public void fun() {
        customerService.save();
    }


}